<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:p="http://primefaces.prime.com.tr/ui"
                xmlns:vti="http://java.sun.com/jsf/composite/components/vti"
                template="/pages/templates/layout.xhtml">
    <ui:define name="metadata">
        <f:metadata>
            <f:viewParam name="id" value="#{usuarioBean.entidadePesquisa['id']}" />
            <f:viewParam name="cod" value="#{usuarioBean.codigoAtivacao}" />
            <f:event type="preRenderView" listener="#{usuarioBean.ativarCadastro()}" />
        </f:metadata>
    </ui:define>
</ui:composition>